/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.penguin.modules.field.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.penguin.modules.field.entity.FieldCustomer;
import com.thinkgem.penguin.modules.field.dao.FieldCustomerDao;

/**
 * 商家信息管理维护Service
 * @author 余小凡
 * @version 2015-05-20
 */
@Service
@Transactional(readOnly = true)
public class FieldCustomerService extends CrudService<FieldCustomerDao, FieldCustomer> {

	public FieldCustomer get(String id) {
		return super.get(id);
	}
	
	public List<FieldCustomer> findList(FieldCustomer fieldCustomer) {
		return super.findList(fieldCustomer);
	}
	
	public Page<FieldCustomer> findPage(Page<FieldCustomer> page, FieldCustomer fieldCustomer) {
		return super.findPage(page, fieldCustomer);
	}
	
	@Transactional(readOnly = false)
	public void save(FieldCustomer fieldCustomer) {
		super.save(fieldCustomer);
	}
	
	@Transactional(readOnly = false)
	public void delete(FieldCustomer fieldCustomer) {
		super.delete(fieldCustomer);
	}
	
}